package day09;

public class ArraysUntilTest {
	public static void main(String[] args) {
		ArraysUtil util = new ArraysUtil();
		int[] arr = new int[]{21,5,23,51,13,6,7,55,91,23};
		System.out.println(arr.length-1);
		util.print(arr);
		util.sort(arr);
		util.print(arr);
		System.out.println(util.getMax(arr));
		System.out.println(util.getMin(arr));
		System.out.println(util.getindex(arr, 2));
		System.out.println(util.getSum(arr));
		System.out.println(util.getAvg(arr));
		
	}
}
